import apiClient from '@/api/apiClient';

const baseUrl = '/sys-job-log';
const baseUrls = '/sys-job-logs';

// sys-job-log
const LogList = (id, data?: any) => apiClient.get({ url: `${baseUrls}/${id}`, params: data });

const logClearAll = () => apiClient.post({ url: `${baseUrl}/clear` });

const logDelete = (id) => apiClient.delete({ url: `${baseUrl}/${id}` });

export default {
  LogList,
  logClearAll,
  logDelete,
};
